﻿using System.Windows.Forms;

namespace Borg
{
    [Param("Kind", typeof(ViewKind), 0)]
    [Param("Tag", typeof(string), "")]
    [Param("Name", typeof(string))]
    [SlotDefinition("Borg.View")]
    [Param("OrderIndex", typeof(float), 0.5f)]
    [Param("Icon", typeof(string), "")]
    public interface IView
    {
        Control Control { get; }
        string Name { get; }
    }

    public enum ViewKind
    {
        None,
        Application,
        Tool,
        Control,
        Logon,
        LogonHelp
    }
}

